package com.yowasa.xiuxian.engine.battle.buff;

import com.yowasa.xiuxian.annoations.Buff;
import com.yowasa.xiuxian.entity.bo.battle.BuffContent;
import com.yowasa.xiuxian.entity.bo.battle.TempUserBattle;

import java.math.BigDecimal;

@Buff(name="法术虚弱")
public class XuRuoBuff implements BuffInterface {
    @Override
    public void effectBattleInfo(BuffContent content, TempUserBattle userBattle) {
        userBattle.setSpell(userBattle.getSpell() / 2);

    }
}
